package nix.generic;

import java.util.ArrayList;
import java.util.List;

public class TestGenericErasure {

	/**
	 * 泛型擦除
	 * 
	 * @param args
	 */
	public static void main(String[] args) {

		List<String> list1 = new ArrayList<String>();
		List<Integer> list2 = new ArrayList<Integer>();

		System.out.println(list1.getClass() == list2.getClass());// true
	}

}
